package cn.com.zonesion.rfiddemo.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import java.util.ArrayList;

import cn.com.zonesion.rfiddemo.bean.CardRelateBean;

public class CardRelateInfoAdapter extends BaseAdapter{
    private Context context;
    private ArrayList<CardRelateBean> cardRelateBeans;

    public CardRelateInfoAdapter(Context context, ArrayList<CardRelateBean> cardRelateBeans) {
        this.context = context;
        this.cardRelateBeans = cardRelateBeans;
    }

    @Override
    public int getCount() {
        return cardRelateBeans.size();
    }

    @Override
    public Object getItem(int i) {
        return cardRelateBeans.get(i);
    }

    @Override
    public long getItemId(int i) {
        return i;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
        return null;
    }
}
